technotes

Technical Notes provide you with the latest technical documentation on Apple technologies and system updates, fixes and errata to Inside Macintosh, as well as programming tips and techniques to advance your development efforts. New Technical Notes are published on a regular basis and are reviewed by Apple engineers for technical accuracy and robustness.



Last updated: 15-March-99

Technical Notes by Category
Alphabetical categories for Apple Technical Notes are listed below.

Mac OS

No Current Development Mac OS X Server

Other Resources

In addition to our recent Technotes, other technical resources are available on Apple's Developer site:

Q&As
Technical Q&As provide you with the latest information and programming tips from Apple's developer technical support engineers.

Technical Publications
Apple's Technical Publications group produces information resources for programmers and innovators who are developing with Apple technology. Inside Macintosh volumes can be found on the Technical Publications site. An archive of develop magazine is also available.

Sample Code
Sample code provides you with coding samples for Apple Technologies from Apple's technical support engineers.

Japanese Technotes
For the convenience of our Japanese developers, many of our Technical Notes have been translated into Japanese.

Mac OS

TN1158: Levatatus Interruptus
By George Warner
The use of floating point instructions is usually handled by a development system's libraries. One special case not properly handled by these libraries is the saving and restoring of the volatile floating point registers for interrupt routines. Floating-point assembly code will need to be written for this case. This Technote will address this topic.


TN1157: Don't println to a Socket
By Jens Alfke
A common cause of deadlocks in client-server Java applications when running on Mac OS stems from improper use of the println method when writing to an OutputStream connected to a Socket. Here's why, and what you can do about it.


TN1156: Scribbling Into AWT Components
By Jens Alfke
This Technote describes how to draw into an AWT Component by means other than the Java AWT Graphics API. In particular, by discovering the QuickDraw GrafPort, origin, and clipping Region corresponding to the Component’s visible area, you can use any means at your disposal (most likely QuickDraw) to draw things inside the Component.


TN1155: JNI Tips: Building Your Native-Method Libraries For MacOS
By Jens Alfke
JNI (Java Native Interface) is a cross-platform standard for implementing Java methods in native code. MRJ 2.0 and 2.1 support JNI; however, some developers run into trouble getting their JNI libraries to work correctly on Mac OS. For the most part these are build- and installation-related issues. This Technote is designed to put you at ease.


TN1154: Debugging Java Code With MacsBug
By Jens Alfke
MacsBug, the low-level debugger for the Mac OS, seems unlikely to be useful for debugging a very high-level language like Java. Au contraire! The MRJ plug-in 'dcmd' for MacsBug adds a number of commands that can help you debug everything from deadlocks to memory leaks. This Technote introduces MacsBug for those not familiar with it, and shows how to use the MRJ commands to debug your Java code.


More ADC News

Previous Technical Notes

In addition to our recent Technical Notes, all previous Technical Notes are also available. A quick, easy-to-scan Table of Contents includes all of these Technical Notes in an itemized list sorted by date published on the Web. A more robust Table of Contents, which includes a descriptive passage on each Technical Note, is also available.


For those of you who have references to old Technote numbers, we have created an old-to-new number reference page for you. We hope you find this page useful!